<template>
  <div>
    <div class="code-pre">语法：transition： CSS属性，花费时间，效果曲线(默认ease)，延迟时间(默认0)</div>
    <el-row gutter="10">
      <el-col :span="24" :xs="24">
        <el-card shadow="hover">
          <template #header>
            <div class="card-header">
              <span>transition 过度</span>
            </div>
          </template>
          <TransitionSelect/>
        </el-card>
      </el-col>
      <el-divider>分割线</el-divider>
      <el-col :span="24" :xs="24">
        <el-card shadow="hover">
          <template #header>
            <div class="card-header">
              <span>transition 按钮背景色</span>
            </div>
          </template>
          <TransitionButton/>
        </el-card>
      </el-col>
    </el-row>
  </div>
</template>
<script lang="ts">
import { defineComponent } from 'vue'
import * as components from './components'
export default defineComponent({
  name: 'CSS3Transition',
  components,
  setup() {
    //
  }
})
</script>
